//
//  FYNetworkingManager.h
//  FYNetworking
//
//  Created by Felix Yin on 2017/5/5.
//  Copyright © 2017年 Felix Yin. All rights reserved.
//

#import <Foundation/Foundation.h>

@class FYNetworkingFileRequestStting;
@interface FYNetworkingManager : NSObject

+ (instancetype) shareInstance;

/**
 *  发起网络请求
 *
 *  @param requestSetting 请求配置
 *
 *  @return 返回请求ID
 */
- (NSNumber *) sendRequest:(FYNetworkingFileRequestStting *) requestSetting;

/**
 *  取消网络请求
 *
 *  @param requestID 网络请求ID
 */
- (void) cancleRequest:(NSNumber *) requestID;

@end
